import Layout from '../views/layout/Layout';
const _import = require('./_import_' + process.env.NODE_ENV);
const MallMenu = {
    path: '/mall',
    component: Layout,
    name: '商场管理',
    meta: {
      title: '商场管理',
      icon: 'chart'
    },
    authority: 'mall',
    children: [{
      path: 'goodsManager',
      component: _import('mall/goods'),
      name: '商品管理',
      meta: {
        title: '商品管理',
        icon: 'chart'
      },
      authority: 'goodsManager'
    }, {
      path: 'regionManager',
      component: _import('mall/region'),
      name: '行政区域',
      meta: {
        title: '行政区域',
        icon: 'chart'
      },
      authority: 'regionManager'
    }, {
      path: 'brandManager',
      component: _import('mall/brand'),
      name: '品牌制造商',
      meta: {
        title: '品牌制造商',
        icon: 'chart'
      },
      authority: 'brandManager'
    }, {
      path: 'categoryManager',
      component: _import('mall/category'),
      name: '商品类目',
      meta: {
        title: '商品类目',
        icon: 'chart'
      },
      authority: 'categoryManager'
    }, {
      path: 'orderManager',
      component: _import('mall/order'),
      name: '订单管理',
      meta: {
        title: '订单管理',
        icon: 'chart'
      },
      authority: 'orderManager'
    }, {
      path: 'issueManager',
      component: _import('mall/issue'),
      name: '通用问题',
      meta: {
        title: '通用问题',
        icon: 'chart'
      },
      authority: 'issueManager'
    }, {
      path: 'keywordManager',
      component: _import('mall/keyword'),
      name: '关键词',
      meta: {
        title: '关键词',
        icon: 'chart'
      },
      authority: 'keywordManager'
    }, {
      path: 'attributeManager',
      component: _import('mall/attribute'),
      name: '商品参数',
      meta: {
        title: '商品参数',
        icon: 'chart'
      },
      authority: 'attributeManager'
    }, {
      path: 'specificationManager',
      component: _import('mall/specification'),
      name: '商品规格',
      meta: {
        title: '商品规格',
        icon: 'chart'
      },
      authority: 'specificationManager'
    }, {
      path: 'productManager',
      component: _import('mall/product'),
      name: '货品管理',
      meta: {
        title: '货品管理',
        icon: 'chart'
      },
      authority: 'productManager'
    }, {
      path: 'commentManager',
      component: _import('mall/comment'),
      name: '用户评论',
      meta: {
        title: '用户评论',
        icon: 'chart'
      },
      authority: 'commentManager'
    }]
  }
export default MallMenu;
